import Layout from '@/layout'

export default {
    path: '/system',
    component: Layout,
    redirect: '/system/user',
    alwaysShow: true, // 将始终显示根菜单
    name: 'System',
    meta: {
        title: '系统管理',
        icon: 'el-icon-s-tools'
    },
    children: [{
        path: 'account',
        component: () => import('@/views/system/account'),
        name: 'Account',
        meta: {
            title: '用户管理'
        }
    }, {
        path: 'role',
        component: () => import('@/views/system/role'),
        name: 'Role',
        meta: {
            title: '身份管理'
        }
    }, {
        path: 'menu',
        component: () => import('@/views/system/menu'),
        name: 'Menu',
        meta: {
            title: '菜单管理'
        }
    }]
}